import { SetMetadata } from '@nestjs/common'

// 用于标记公共接口的装饰器
// 用法：@Public()
export const IS_PUBLIC_KEY = 'isPublic'
export const Public = () => SetMetadata(IS_PUBLIC_KEY, true)
